package com.chehejia.devmng.platform.base.model;


import com.chehejia.devmng.platform.base.constant.BaseEnum;

/**
 * @author SongJian
 * Created by SongJian at 2018/4/16.
 */
public interface RestfulCode extends BaseEnum<Integer> {

    /**
     * 成功
     */
    RestfulCode SUCCESS = new RestfulCode() {
        @Override
        public Integer getCode() {
            return 0;
        }

        @Override
        public String getMessage() {
            return "SUCCESS";
        }
    };
}
